<template>
  <div>
    <el-card class="table-box">
      <div class="title">测试任务</div>
      <el-table :data="tasks" style="width: 100%" :show-header="false">
        <el-table-column prop="name" min-width="60px" show-overflow-tooltip></el-table-column>
        <el-table-column min-width="80px">
          <template>
            <div style="text-align:right;">
              <el-button type="primary" plain size="mini" icon="el-icon-view"></el-button>
            </div>
          </template>
        </el-table-column>
      </el-table>
    </el-card>
  </div>
</template>

<script>
import { mapState } from 'vuex'

export default {
  components: {},
  props: {},
  data() {
    return {}
  },
  computed: { ...mapState(['tasks']) },
}
</script>
<style scoped>
</style>